﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Sisocana.Core.Models.PersonaDesaparecidaModel>" %>

<a class="result-link" href="<%= Url.Action("FoundPerson","Person", new { id = Model.id,
                                                                          externalEntity = Model.externalEntity,
                                                                          searchWSId = Model.searchWSId,
                                                                          idSitio = Model.idSitio
                                                                         })%>" />
    <span class="resultImageContainer">
        <img class='resultImage' alt="photo" src="<%= Model.foto.imgNombre != null ? Url.Action("image","Person", new { id = Model.id }) : Url.Content("~/Content/images/no-photo.gif") %>" />
    </span>
    <span class="resultData">
        <span class="resultDataTitle"><%= Model.nombre + " " + Model.apellido %> </span>
    </span>
</a>